#!/bin/bash

cd /data/wwwroot/cloud_control

git pull origin master

php bin/console cache:clear --env=prod --no-debug --no-warmup

php bin/console cache:warmup --env=prod

chown -R www:www .

echo "prod ok."